package com.lwz.mediator;

public abstract class Colleague {

	//每个同事类持有该中介者对象
	Mediator mediator;
	
	public Colleague(Mediator mediator){
		this.mediator = mediator;
	}
	
	public Mediator getMediator(){
		return mediator;	
	}
	
	public abstract void doSomeThing();
}
